/*首页主内容部分，一宽固定大小，水平届中*/
.m-main{
  width: 1200px;
  /*设置左右边距为auth则为居中*/
  margin-left: auto;
  margin-right: auto;
}
/*头部*/
.m-header{
  width: 100%;
  height: 130px;
  background: #ffee22;
}
/*菜单样式开始*/
.m-menu{
  width: 100%;
  height: 50px;
  background: #3778bc;
  display: flex;
}
.m-menu-item{
  width: 108px;
  height: 50px;
  background: #3778bc;
  cursor: pointer;
  position: relative;
  z-index: 999;
}
.m-menu-item .m-title{
  height: 50px;
  /*设置为弹性盒子*/
  display: flex;
  /*设置为水平居中*/
  justify-content: center;
  /*设置为垂直*/
  align-items: center;
  color: #ffffff;
  font-size: 15px;
}
.m-submenu .m-menu-item{
  width: 175px;
  background: #4470ab;
}
.m-submenu{
  display: none;
}
/*伪类，鼠标移上去后，当前元素的样式*/
.m-menu-item:hover{
  background: #316ca9;
}
/*伪类，鼠标移上去后其子元素m-submenu的样式*/
.m-menu-item:hover >.m-submenu{
  display: block;
}
.m-menu-item .m-menu-item .m-menu-item{
  position: relative;
  left: 175px;
  top: -50px
}
.m-menu-item >.m-submenu .m-title{
  font-size: 14px;
}
.m-menu-item >.m-submenu .m-submenu .m-title{
  font-size: 12px;
}
.m-submenu .m-menu-item:hover{
  background: #3e6eaa;
}
/*菜单样式结束*/

/*去掉ul、li的默认样式*/
ul,li{
  margin: 0;
  padding: 0;
  list-style: none;
}
/*轮播图样式开始*/
.m-slide{
  width: 100%;
  height: 300px;
  overflow: hidden;
  position: relative;
}
.m-slide-image{
  display: flex;
  width: 500%;
  height: 300px;
  margin-left: 0%;
  /*使用下面定义好的动画move*/
  animation-name: move;
  /*执行这个动画需要12s*/
  animation-duration: 12s;
  /*循环执行动画*/
  animation-iteration-count: infinite;
  /*执行动画的运动曲线*/
  animation-timing-function: ease-in-out;
}
.m-slide-image li{
  flex: 1;
}
.m-slide-dot{
  height: 44px;
  bottom: 10px;
  right: 14px;
  position: absolute;
  display: flex;
}
.m-slide-dot li{
  width: 44px;
  height: 44px;
  border-radius: 22px;
  margin-left: 6px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #cccccc;
  cursor: pointer;
}
.m-slide-dot li:nth-child(1) {
  /*使用下面定义好的动画bg*/
  animation-name: bg;
  /*执行这个动画需要12s*/
  animation-duration: 12s;
  /*延迟执行*/
  animation-delay: 0s;
  /*循环执行动画*/
  animation-iteration-count: infinite;
}
.m-slide-dot li:nth-child(2) {
  /*使用下面定义好的动画bg*/
  animation-name: bg;
  /*执行这个动画需要12s*/
  animation-duration: 12s;
  /*延迟执行*/
  animation-delay: 3s;
  /*循环执行动画*/
  animation-iteration-count: infinite;
}
.m-slide-dot li:nth-child(3) {
  /*使用下面定义好的动画bg*/
  animation-name: bg;
  /*执行这个动画需要12s*/
  animation-duration: 12s;
  /*延迟执行*/
  animation-delay: 6s;
  /*循环执行动画*/
  animation-iteration-count: infinite;
}
.m-slide-dot li:nth-child(4) {
  /*使用下面定义好的动画bg*/
  animation-name: bg;
  /*执行这个动画需要12s*/
  animation-duration: 12s;
  /*延迟执行*/
  animation-delay: 9s;
  /*循环执行动画*/
  animation-iteration-count: infinite;
}
li.m-slide-dot-actived{
  background: #ffe121;
}
/*定义一个名称为move的动画，主要控制左边距*/
@keyframes move{
  0%{
    margin-left:0;
  }
  25%{
    margin-left:-100%;
  }
  50%{
    margin-left:-200%;
  }
  75%{
    margin-left:-300%;
  }
  100%{
    margin-left:-400%;
  }
}
/*定义一个名称为bg的动画，主要控制背景色*/
@keyframes bg {
  0%{
    background: #cccccc;
  }
  25%{
    background: #cccccc;
  }
  50%{
    background: #cccccc;
  }
  75%{
    background: #cccccc;
  }
  100%{
    background: #ffe121;
  }
}
/*轮播图样式开始*/
/*卡片布局样式开始*/
.m-card-header{
  display: flex;
  justify-content: space-between;
  background-color: #3778bc;
}
.m-card-title{
  height: 40px;
  background-color: #3778bc;
  color: #ffffff;
  font-size: 14px;
  padding-left: 18px;
  padding-right: 18px;
  display: flex;
  align-items: center;
}
.m-card-more{
  height: 40px;
  color: #ffffff;
  font-size: 12px;
  padding-left: 18px;
  padding-right: 18px;
  display: flex;
  align-items: center;
}
.m-card-body{
  border: 1px solid #cccccc;
}
/*卡片布局样式结束*/
.m-news-notice{
  width: 100%;
  height: 287px;
  margin-top: 15px;
  display: flex;
}
.m-news{
  width: 780px;
}
.m-notice{
  width: 400px;
  margin-left: 20px;
}
/*重写新闻动态与通知公告默认的m-card-body样式*/
.m-news-notice .m-card-body {
  margin-top: 12px;
}
.m-banner{
  width: 100%;
  height: 95px;
  margin-top: 16px;
  background: #ffee22;
}
.m-job-zhaopin{
  width: 100%;
  height: 270px;
  margin-top: 15px;
  display: flex;
}
/*重写就业工作与招聘信息默认的m-card-header样式*/
.m-job-zhaopin .m-card-header{
  background: #eeeeee;
  border: 1px solid #cccccc;
  border-bottom: none;
}
.m-job-zhaopin .m-card-more {
  color: #666666;
}
.m-job{
  flex:1;
}
.m-zhaopin{
  flex:1;
  margin-left: 20px;
}
/*面板样式开始*/
.m-tabs-header{
  height: 40px;
  border: 1px solid #cccccc;
  display: flex;
  background: #eeeeee;
}
.m-tab-title{
  padding-left: 18px;
  padding-right: 18px;
  display: flex;
  align-items: center;
  color: #333333;
  font-size: 14px;
  border-right: 1px solid #cccccc;
  cursor: pointer;
}
.m-tab-title-seleted{
  color: #ffffff;
  background: #3778bc;
}
.m-tabs-body{
  border: 1px solid #cccccc;
  border-top: none;
}
.m-hide{
  display: none;
}
/*面板样式结束*/

.m-benke-dangjian{
  width: 100%;
  height: 270px;
  margin-top: 32px;
  display: flex;
}
.m-benke-dangjian .m-tabs-body{
  height: 230px
}
.m-benke{
  flex:1;
}
.m-dangjian{
  flex:1;
  margin-left: 20px;
}
/*友情链接样式开始*/
.m-link{
  width: 100%;
  height: 148px;
  margin-top: 15px;
  background: #ff3399;
}
/*友情链接结束开始*/
/*底部样式开始*/
.m-footer{
  width: 100%;
  height: 44px;
  background: #3778bc;
  text-align: center;
  line-height: 44px;
  color: #ffffff;
  font-size: 14px;
}
/*底部样式开始*/
